Moderate: python27 security, bug fix, and enhancement update

Synopsis

Moderate: python27 security, bug fix, and enhancement update

Type/Severity

Security Advisory: Moderate

Topic

An update for python27-python, python27-python-pip, and python27-python-virtualenv is now available for Red Hat Software Collections.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

The following packages have been upgraded to a later upstream version: python27-python (2.7.18). (BZ#1882656)

Security Fix(es):

  • python: CRLF injection via the host part of the url passed to urlopen() (CVE-2019-18348)
  • python: infinite loop in the tarfile module via crafted TAR archive (CVE-2019-20907)
  • python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py (CVE-2019-20916)
  • python: CRLF injection via HTTP request method in httplib/http.client (CVE-2020-26116)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • python27-python-pip: Bundles own CA bundle instead of using system CA bundle (BZ#1882668)
  • python27-python-pip: Contains multiple bundled libraries, and has no bundled() provides (BZ#1882669)

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.7 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.6 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7.6 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7.6 ppc64le
  • Red Hat Software Collections (for RHEL Server) 1 for RHEL 7 x86_64
  • Red Hat Software Collections (for RHEL Server for System Z) 1 for RHEL 7 s390x
  • Red Hat Software Collections (for RHEL Server for IBM Power LE) 1 for RHEL 7 ppc64le
  • Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7 x86_64

Fixes

  • BZ - 1727276 - CVE-2019-18348 python: CRLF injection via the host part of the url passed to urlopen()
  • BZ - 1856481 - CVE-2019-20907 python: infinite loop in the tarfile module via crafted TAR archive
  • BZ - 1868135 - CVE-2019-20916 python-pip: directory traversal in _download_http_url() function in src/pip/_internal/download.py
  • BZ - 1882656 - Update the python 2 interpreter to its last release, 2.7.18
  • BZ - 1883014 - CVE-2020-26116 python: CRLF injection via HTTP request method in httplib/http.client

CVEs

References